<?php
/** @ingroup boleto
 *  @brief View Informação Bancário
 */
?>
<style type="text/css">
    #status{
        background-color: #A4D29D;
        border-bottom: 1px dashed #55a34a;
        border-top: 1px dashed #55a34a;
        text-align: center;
        height: 18px;
        padding-top: 5px;
        margin-bottom: 10px;
        color: #000;
    }

    #log{
        margin-top: 20px;
        margin-bottom: 20px;
        font-size: 10px;
    }

    .clear{
        margin-top: 10px;
    }

    #confirm{
        background-color: #B3FFCB;
        position: relative;
        padding-bottom: 5px;
        padding-top: 5px;
        text-align: center;
        margin-top: 40px;
        margin-bottom: 20px;
        color: black;
        clear: both;

}
</style>

<div id="content">       
    <div id="main">

        <?php
            $elementMessages = $this->form->getMessages();
            
            if (sizeof($elementMessages) > 0)
            {
                echo '<div class=error>';
                foreach ($elementMessages as $element)
                {
                    foreach ($element as $message)
                    {

                        echo $message.'<br >';
                    }
                }
                echo '</div>';
            }
        ?>

        <? if(isset($this->confirm)): ?>
            <div class="success"><?=$this->confirm?></div>
        <? endif; ?>

        <h2><a href="#"><?=$this->breadcump1?></a> &raquo; <a href="<?=$this->url(array('controller' => 'boleto', 'action' => 'admbanco'),'',true)?>" class=""><?=$this->breadcump2?></a> &raquo; <a href="#" class="active"><?=$this->breadcump3?></a></h2>
        <br >
        <font color="red">Para o banco Santander, informar o <b>PSK(código do cliente)</b> no campo <b>Conta</b>.</font>       

        <?=$this->form;?>
        
    </div>
    <div class="clear"></div>
</div>

<div id="sidebar">
        <h2>Navegação</h2>
        <ul>
                <li><a href="<? echo $this->url(array('controller' => 'boleto', 'action' => 'index'),'',true)?>">Histórico</a></li>
                <li><a href="">Upload</a>
                    <ul>
                        <li><a href="<? echo $this->url(array('controller' => 'boleto', 'action' => 'uploadboleto'),'',true)?>">Info Boletos</a></li>
                        <li><a href="<? echo $this->url(array('controller' => 'boleto', 'action' => 'uploadproduto'),'',true)?>">Info Produtos</a></li>
                    </ul>
                </li>
                <li><a href="">Boletos</a>
                    <ul>
                        <li><a href="<? echo $this->url(array('controller' => 'boleto', 'action' => 'admbanco'),'',true)?>">Administrar Bancos</a></li>
                        <li><a href="<? echo $this->url(array('controller' => 'boleto', 'action' => 'geraboleto'),'',true)?>">Gerar PDF Boletos</a></li>
                    </ul>
                </li>
                 <li><a href="">Operações</a>
                    <ul>
                        <li><a href="<? echo $this->url(array('controller' => 'boleto', 'action' => 'cadastroboleto'),'',true)?>">Cadastro de boletos</a></li>
                        <li><a href="<? echo $this->url(array('controller' => 'boleto', 'action' => 'find'),'',true)?>">Localizar boletos</a></li>
                    </ul>
                </li>
        </ul>
</div>

